package com.git.bds.mr.enums;

/**
 * @author 成大事
 * @since 2022/8/18 9:29
 */
public enum Role {


    /** 患者 */
    PATIENT(1, "患者"),
    /** 医生 */
    DOCTOR(2, "医生"),
    /** 医院 */
    HOSPITAL(3, "医院");

    private final Integer value;
    private final String msg;

    Role(Integer value, String msg) {
        this.value = value;
        this.msg = msg;
    }

    public Integer getValue() {
        return value;
    }

    public String getMsg() {
        return msg;
    }
}
